package com.itheima.exception;

import org.apache.commons.fileupload.FileUploadException;

import java.io.PrintStream;
import java.io.PrintWriter;

/**
 * @description:
 * @author: 付益民
 * @create: 2020-09-29-19:47
 */
public class MyFileException extends FileUploadException {
    public MyFileException() {

    }

    public MyFileException(String msg) {
        super(msg);
    }

    public MyFileException(String msg, Throwable cause) {
        super(msg, cause);
    }

    @Override
    public void printStackTrace(PrintStream stream) {
        super.printStackTrace(stream);
    }

    @Override
    public void printStackTrace(PrintWriter writer) {
        super.printStackTrace(writer);
    }

    @Override
    public Throwable getCause() {
        return super.getCause();
    }
}
